package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author chenxingqing
 */
@Data
@ApiModel
@TableName("orinfotable")
public class Orinfotable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID")
    private Integer id;

    @TableField("OrName")
    private String OrName;

    @TableField("CurTemp")
    private Integer CurTemp;

    @TableField("CurHumd")
    private Integer CurHumd;

    @TableField("CurPressDiff")
    private Integer CurPressDiff;

    @TableField("SetTemp")
    private Integer SetTemp;

    @TableField("SetHumd")
    private Integer SetHumd;

    @TableField("SetPressDiff")
    private Integer SetPressDiff;

    @TableField("IT_err")
    private Boolean itErr;

    @TableField("Mach_err")
    private Boolean machErr;

    @TableField("Air_run")
    private Boolean airRun;

    @TableField("recordTime")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date recordTime;

}
